<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html">
    <head>
        <title>
            Login Page
        </title>
    </head>
    <body>
        <h:panelGroup id="messagePanel" layout="block">
            <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
        </h:panelGroup>
        <h:form>
            <h:panelGrid columns="2">

                <h:outputLabel value="#{bundle.Employees_businessEmail}" for="businessEmail" />
                <h:inputText id="businessEmail" value="#{employeesController.businessEmail}" required="true" requiredMessage="#{bundle.E-MailRequiredMessage}"/>

                <h:outputLabel value="#{bundle.Employees_password}" for="password" />
                <h:inputSecret id="password" value="#{employeesController.password}" required="true" requiredMessage="#{bundle.PasswordRequiredMessage}"/>

            </h:panelGrid>
            <br />
            <h:commandButton action="#{employeesController.loginCheck}" value="#{bundle.EmployeesLoginLink}" />
        </h:form>
    </body>
</html>

